<%@ page import="java.util.Date"%>
<%@page import="java.util.Arrays"%>
<%@ page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>注册信息</title>
    <style type="text/css">
        input[type="text"],input[type="password"]{
            width: 300px;
        }
    </style>
</head>
<body>
<jsp:include page="/common.jsp"/>

<%
    request.setCharacterEncoding("utf-8");
    String username=request.getParameter("username");
    String password=request.getParameter("password");
    String email=request.getParameter("email");
    String gender=request.getParameter("gender");
    String[] types = request.getParameterValues("type");
    String code=request.getParameter("code");


%>

<h1 class="title">用户注册</h1>
    <table style="margin:auto;">
        <tr>
            <td>账号</td>
            <td>
            <%=username%>
            </td>
        </tr>
        <tr>
            <td>密码</td>
            <td>
            <%=password%>
            </td>
        </tr>
        <tr>
            <td>Email</td>
            <td>
            <%=email%>
            </td>
        </tr>
        <tr>
            <td>性别</td>
            <td>
            <%=gender%>
            </td>
        </tr>
        <tr>
            <td>关注类型</td>
            <td>
            <%=Arrays.toString(types)%>
            </td>
        </tr>
        <tr>
            <td>验证码</td>
            <td>
            <%=code%>
            </td>
        </tr>
    </table>
</body>
</html>